Fix campaign orchestrator tracker label convention: campaign: → z_campaign_#11441
Merged
Fix campaign orchestrator tracker label convention: campaign: → z_campaign_#11441
Conversation
- Update security-alert-burndown.campaign.md tracker-label from campaign:security-alert-burndown to z_campaign_security-alert-burndown - Update validation in pkg/campaign/validation.go to enforce z_campaign_ prefix instead of campaign: prefix - Recompile campaign workflow to regenerate lock file with correct environment variable Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
- Added comprehensive tests for tracker label format validation - Tests verify z_campaign_ prefix requirement - Tests ensure old campaign: prefix is rejected - All tests passing Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
mnkiefer
approved these changes
Jan 23, 2026
Copilot
AI
changed the title
[WIP] Update campaign label convention from GH_AW_TRACKER_LABEL
Fix campaign orchestrator tracker label convention: campaign: → z_campaign_
Jan 23, 2026
mnkiefer
approved these changes
Jan 23, 2026
This was referenced Jan 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Campaign orchestrator was using
campaign:security-alert-burndownlabel convention, yielding 0 discovery matches. Discovery script generates and searches forz_campaign_<campaign-id>labels, and worker workflows tag items with this prefix.Changes
Campaign spec (
.github/workflows/security-alert-burndown.campaign.md): Updatedtracker-labelfromcampaign:security-alert-burndown→z_campaign_security-alert-burndownValidation (
pkg/campaign/validation.go): Enforcesz_campaign_prefix instead ofcampaign:prefixTests (
pkg/campaign/validation_test.go): AddedTestValidateSpec_TrackerLabelFormatcovering prefix validationLock file: Recompiled with correct
GH_AW_TRACKER_LABEL: z_campaign_security-alert-burndownDiscovery mechanism in
actions/setup/js/campaign_discovery.cjsline 329 already generates campaign labels asz_campaign_${campaignId.toLowerCase().replace(/[_\s]+/g, "-")}, and worker workflows throughout the codebase use this convention.Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.